package horncomb.bpm.hrsm.interact;

import horncomb.bpm.process.entity.DefaultProcessInstanceEntity;
import horncomb.bpm.task.core.TaskInstance;
import horncomb.bpm.task.support.TaskForm;

/**
 * @author Daniel
 */
public class MockBizEditForm extends DefaultProcessInstanceEntity implements
		TaskForm {
	private static final long serialVersionUID = 7935076952336100679L;
	private String taskInstanceId;
	private TaskInstance taskInstance;
	private boolean submitable;
	private boolean redoable;

	/**
	 * @return the taskInstance
	 */
	public TaskInstance getTaskInstance() {
		return taskInstance;
	}

	/**
	 * @param taskInstance
	 *            the taskInstance to set
	 */
	public void setTaskInstance(TaskInstance taskInstance) {
		this.taskInstance = taskInstance;
	}

	/**
	 * @return the id
	 */
	public String getTaskInstanceId() {
		return taskInstanceId;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setTaskInstanceId(String taskInstanceId) {
		this.taskInstanceId = taskInstanceId;
	}

	/**
	 * @return the submitable
	 */
	public boolean isSubmitable() {
		return submitable;
	}

	/**
	 * @param submitable
	 *            the submitable to set
	 */
	public void setSubmitable(boolean submitable) {
		this.submitable = submitable;
	}

	/**
	 * @return the redoable
	 */
	public boolean isRedoable() {
		return redoable;
	}

	/**
	 * @param redoable
	 *            the redoable to set
	 */
	public void setRedoable(boolean redoable) {
		this.redoable = redoable;
	}
}
